package com.bawei.module_home.model.service

import com.bawei.library_net.RetrofitManager
import com.bawei.library_net.entity.ResponseEntity
import com.bawei.module_home.model.api.VideoTypeApi
import com.bawei.module_home.model.entity.SimpleTypeEntity

/**
 * @Author : yaotianxue
 * @Time : On 2023/6/25 09:13
 * @Description : VideoTypeService
 */
class VideoTypeService {
    var api:VideoTypeApi
    init {
      api =  RetrofitManager.instance.create(VideoTypeApi::class.java)
    }

    /**
     * 获得视频类型信息
     */
    suspend fun aa(): ResponseEntity<MutableList<SimpleTypeEntity>>{
        return api.simpleTypeVideo()
    }


}